<!--Copyright (C) Kherty.  All rights reserved.-->
<oui:GroupPanel
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        x:Class="OpenLS.Spreadsheet.UI.ReviewTabContent"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:oui="http://schemas.Kherty.com/office/2007"
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Resources="clr-namespace:OpenLS.Spreadsheet.UI.Internals.Resources">
        <oui:Group Header="{x:Static Resources:UIStringTable.Comments}">
            <Menu>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.NewComment}" />
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.EditComment}" />
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.DeleteComment}" />
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.PreviousComment}" />
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.NextComment}" />
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.ToggleCommentVisibility}" oui:RibbonElement.ControlState="Medium"/>
                <ToggleButton Command="{x:Static ssui:SpreadsheetCommands.ToggleAllCommentsVisibility}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=IsChecked}"  oui:RibbonElement.ControlState="Medium"/>
            </Menu>
            <!--<StackPanel Orientation="Horizontal">
              <Button Command="{x:Static ssui:SpreadsheetCommands.EditComment}" >Edit comment</Button>
              <Button Command="{x:Static ssui:SpreadsheetCommands.DeleteComment}" >Delete comment</Button>
              <Button Command="{x:Static ssui:SpreadsheetCommands.EditComment}" >Edit comment</Button>
              <Button Command="{x:Static ssui:SpreadsheetCommands.DeleteComment}" >Delete comment</Button>
              <Button Command="{x:Static ssui:SpreadsheetCommands.EditComment}" >Edit comment</Button>
            </StackPanel> -->
        </oui:Group>
        <oui:Group Header="{x:Static Resources:UIStringTable.Changes}">
            <Menu>
            <Menu.Resources>
                <Style TargetType="{x:Type MenuItem}" BasedOn="{StaticResource {x:Type MenuItem}}">
                    <Style.Triggers>
                        <Trigger  Property ="IsEnabled" Value="False">
                            <Setter Property="Visibility" Value="Collapsed"></Setter>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </Menu.Resources>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.ProtectSheet}"/>
            <MenuItem Command="{x:Static ssui:SpreadsheetCommands.UnprotectSheet}"/>
            <MenuItem Command="{x:Static ssui:SpreadsheetCommands.ProtectWorkbook}"/>
            <MenuItem Command="{x:Static ssui:SpreadsheetCommands.UnprotectWorkbook}"/>
        </Menu>
        </oui:Group>

    </oui:GroupPanel>
    